package com.qf.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-maven
 * @Package com.qf.servlet
 * @Description:
 * @Date 2022/9/21 20:30
 */
@WebServlet(name = "Servlet",urlPatterns = "/servlet")
public class Servlet extends HttpServlet {
    @Override
    public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("我已被连接");
        System.out.println("我也被连接了，如果说可以的话，我想添加不想覆盖");
        System.out.println("不可以覆盖");
        System.out.println("覆盖是个坏毛病，我要切回master去了");
        System.out.println("带过去");
    }
}
